
config.load_autoconfig()

c.url.start_pages = ['https://chat.deepseek.com']  # 将起始页设置为deepseek
c.url.default_page = 'https://chat.deepseek.com'  # 将起始页设置为deepseek


c.url.searchengines = {
    'DEFAULT': 'https://duckduckgo.com/?q={}',
    'b': 'https://bing.com/?q={}',  # 默认搜索引擎
    'd': 'https://dict.eudic.net/dicts/en/{}',
    'g': 'https://www.google.com/search?q={}',
    'git': 'https://github.com/search?q={}&type=repositories',

 

    # ... 其他搜索引擎
}
# Font families
c.fonts.web.family.sans_serif = "Noto Sans"
c.fonts.web.family.serif = "Noto Serif"
c.fonts.web.family.standard = "Noto Sans"
c.fonts.web.family.fixed = "Fira Code"
c.fonts.web.family.cursive = "Comic Sans MS"
# Context-specific font sizes
c.fonts.contextmenu = "14pt Noto Sans"
c.fonts.statusbar = "14pt Noto Sans"
c.fonts.tabs.selected = "14pt Fira Code"
c.fonts.tabs.unselected = "16pt Comic Sans MS"

# Font sizes
c.fonts.web.size.minimum = 14  # Minimum font size
c.fonts.web.size.minimum_logical = 14  # Minimum logical font size

c.fonts.web.size.default = 14  # Default font size
c.fonts.web.size.default_fixed = 16  # Fixed font size


c.fonts.hints = "16pt Noto Sans"  # Example: "12pt Noto Sans"

# Set default zoom level
c.zoom.default = "150%"

# Remember zoom per site
c.zoom.levels = ["25%", "33%", "50%", "67%", "75%", "90%", "100%", "110%", "125%", "150%", "175%", "200%", "250%", "300%", "400%", "500%"]

# config.bind(',t', 'spawn mpv {url}')

# # 禁用鼠标左键
# config.set('input.mouse.left', 'null')


# 在Normal模式下关闭中文输入法
config.bind('i', 'mode-enter insert ;; spawn qute_fcitx_switch insert')
# 当从Insert模式退出到Normal模式时，触发脚本
config.bind('<Escape>', 'mode-enter normal ;; spawn qute_fcitx_switch normal')
